package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 大神等级对象 cat_god_level
 * 
 * @author verne
 * @date 2020-07-17
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_god_level")
@ApiModel(value="大神等级对象", description="大神等级对象数据")
public class CatGodLevel implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 等级名称 */
    @Excel(name = "等级名称")
    @ApiModelProperty(value = "等级名称")
    private String godName;


    /** 等级图标 */
    @Excel(name = "等级图标")
    @ApiModelProperty(value = "等级图标")
    private String godIcon;

    /** 接单数量 */
    @Excel(name = "接单数量")
    @ApiModelProperty(value = "接单数量")
    private Integer orders;

    /** 好评率 */
    @Excel(name = "好评率")
    @ApiModelProperty(value = "好评率")
    private BigDecimal positive;

    /** 创建时 */
    @Excel(name = "创建时" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时")
    private Date createTime;

    /** 编辑时 */
    @Excel(name = "编辑时" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "编辑时")
    private Date updateTime;

    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Long status;
}
